<form id='writePromotionRuleForm' method='post' action='index.php?app=ecstoreappadmincoupon&ctl=admin_ecstoreappadmincoupon&act=dosendbyadmin'  extra='promotion'>
    <div class="tableform">
        <div class="division">
            <h5><{t}>送优惠券<{/t}></h5>

            <{input type="object" vtype="required" object="coupons@b2c" name="generateCoupon" cols="cpna_name" multiple="true"  select="checkbox"  filter=$filter textcol="cpns_name"}>


        </div>
        <div class="division">
            <table  border="0" cellspacing="0" cellpadding="0" id='select_mac'>
                <tr>
                    <th><input type='radio' value='0' name='pmt_bond_type' checked='checked' onclick="$('s_p').hide();"/></th>
                    <td><{t}>所有会员<{/t}></td>
                </tr>
                <tr>
                    <th><input type='radio' value='1' name='pmt_bond_type' onclick="$('s_p').show();"/></th>
                    <td><{t}>选择会员<{/t}></td>
                </tr>
            </table>
        </div>

        <div id='s_p' style='display:none'>
            <{input  type="object"  object="members@b2c" name="member_id" multiple="1" cols="member_id,uname_alert,mobile_alert" select="checkbox"  textcol="uname" }>
        </div>
        <div class="table-action">
            <{button label="确定" type="submit"}>
        </div>
    </div>
</form>
